package com.simple.portal.dao;

import java.util.List;

import com.simple.portal.vo.GroupInfoVO;
import com.simple.portal.vo.OrganizationVO;
import com.simple.portal.vo.UserInfoVO;
import com.simple.util.object.PageInfoBean;

public interface IUserInfoDAO {

	UserInfoVO findById(final String id);
    
	UserInfoVO save(final UserInfoVO userInfoVO,final String operator);
    
    void update(final UserInfoVO userInfoVO,final String type,final String operator);

    List<UserInfoVO> findAll();

    void delete(final UserInfoVO userInfoVO,final String operator);
    
    void delete(final String id,final String operator);

    UserInfoVO findByLoginId(final String loginId);
    
    OrganizationVO findOrganizationVOByLoginId(final String loginId);
    
    GroupInfoVO findGroupInfoVOByLoginId(final String loginId);

    List<UserInfoVO> findNullPasswordList();
    
    List<GroupInfoVO> findGroupInfoVOListByLoginId(final String loginId);

	List<UserInfoVO> findUserInfoByPage(String userId, String userIdSearch,
			String userNameSearch, String mobilePhoneSearch,
			String statusSearch, PageInfoBean pageInfoBean);

}
